import Vue from 'vue'
import VueRouter from 'vue-router'
import sports from "../views/sports";

Vue.use(VueRouter)

const routes = [
  {
    path: '/sports',
    name: 'sports',
    component: sports
  },
  {
    path: '/dance',
    name: 'dance ',
    component: ()=>import("../views/dance.vue")
  },
  {
    path: '/parenthood',
    name: 'parenthood ',
    component: ()=>import("../views/parenthood.vue")
  },
  {
    path: '/lunbo',
    name: 'lunbos',
    component: ()=>import("../components/lunbos.vue")
  },
  {
    path: '/opera',
    name: 'opera',
    component: ()=>import("../views/opera.vue")
  },
  {
    path: '/song',
    name: 'song',
    component: ()=>import("../views/song.vue")
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
